/**
 * Copyright (C) 2017-2018 pinganfang, Inc. All Rights Reserved.
 */
package com.pingan.haofang.searchcloud.user.dto;

/**
 * 用户
 *
 * @author huhailiang937
 * @date 2017年5月2日下午5:47:33
 * @since 1.0.0
 */
public class SearchUserDto {

    private Long id;

    /**
     * 用户名称，最大长度64
     */
    private String userName;

    /**
     * UM账号
     */
    private String umNo;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 手机号
     */
    private String telephone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 是否启用 1-启用2-停用
     */
    private Integer status;

    /**
     * 角色 1为管理员，0是普通用户
     *
     */
    private int role;

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return the umNo
     */
    public String getUmNo() {
        return umNo;
    }

    /**
     * @param umNo the umNo to set
     */
    public void setUmNo(String umNo) {
        this.umNo = umNo;
    }

    /**
     * @return the pwd
     */
    public String getPwd() {
        return pwd;
    }

    /**
     * @param pwd the pwd to set
     */
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    /**
     * @return the telephone
     */
    public String getTelephone() {
        return telephone;
    }

    /**
     * @param telephone the telephone to set
     */
    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status the status to set
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "SearchUserDto{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", umNo='" + umNo + '\'' +
                ", pwd='****" + '\'' +
                ", telephone='" + telephone + '\'' +
                ", email='" + email + '\'' +
                ", status=" + status +
                ", role=" + role +
                '}';
    }
}
